package com.jumper.study.admin.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.jumper.study.admin.dto.req.StudentSearchReq;
import com.jumper.study.db.model.Student;

public interface StudentService extends BaseService<Student> {
    /**
     * 学员搜索
     * @param page
     * @param req
     * @return
     */
    IPage<Student> listWithAccount(IPage<Student> page, StudentSearchReq req);

    /**
     * 由accountId读取
     * @param accountId
     * @return
     */
    Student getByAccountId(Long accountId);
}
